<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>普通用户</title>
	<base href="<%=basePath %>" />
    <link rel="stylesheet" type="text/css" href="jquery-easyui-1.4.1/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="css/icon.css">
    <link rel="stylesheet" type="text/css" href="jquery-easyui-1.4.1/themes/color.css">
	<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.4.1/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="layer/layer.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.4.1/plugins/datagrid-detailview.js"></script>
	<script type="text/javascript" src="jquery-easyui-1.4.1/locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript" src="js/admin/adteuser.js"></script>
	<script type="text/javascript" src="js/admin/adfodderUtil.js"></script>
</head>
<body>
		<!-- 搜索功能 -->
    <div style="height: 70px; width: 100%;">
    	<form id="tuff">   
    <div style="float: left; padding:20px 0 0 20px; ">   
        <label for="name">手机号:</label>   
        <input class="easyui-textbox" type="text" name="stuAccount" id="stuAccount"  />   
    </div>   
    <div style="float: left;padding:20px 0 0 20px;">   
        <label for="searchName">昵称:</label>   
         <input class="easyui-textbox" type="text" name="stuNickName" id="stuNickName"  />   
    </div> 
    <!-- <div style="float: left;padding:20px 0 0 20px;">   
        <label for="tuRegistTime">注册时间:</label>   
         <input class="easyui-datebox" type="text" name="tuRegistTime" id="tuRegistTimeStart"  />-
         <input class="easyui-datebox" type="text" name="tuRegistTime" id="tuRegistTimeEnd"  />
    </div>    -->
    <div style="float: left;padding:20px 0 0 20px;">   
        <button id="searchAdteuser" class="easyui-linkbutton c1" data-options="iconCls:'icon-search'" type="button">查询</button>  
    </div> 
    <div style="float: left;padding:20px 0 0 20px;">   
        <button id="resetAdteuserButtn" class="easyui-linkbutton c5" data-options="iconCls:'icon-no'" type="button" >重置</button>   
    </div> 
</form>  
    </div>
    <div id="toolbar">
    	<c:forEach items="${list}" var="item">
			${item}
		</c:forEach>
    </div>
    <!-- 加载数据 -->
    <table id="adteuser"></table>
   <div id="tudlg" class="easyui-dialog"  style="width: 400px;; height: 300px; padding: 10px 20px" closed="true"
           buttons="#tudlg-buttons">
        <div align="center">
        <form id="tufm"  novalidate>
            <table>
            	<tr>
            		<td><label>用户账号:</label></td>
            		<td> <input name="tuAccount" data-options="required:true,validType:'length[11,11]'" id="tuAccount" class="easyui-numberbox"></td>
            	</tr>
            	<tr>
            		<td> <label>用户姓名:</label></td>
            		<td><input name="userName" id="userName" class ="easyui-textbox" required="true"></td>
            	</tr>
            	<tr>
            		<td> <label>昵&nbsp;&nbsp;称:</label></td>
            		<td><input name="userNickName" id="userNickName" class ="easyui-textbox"></td>
            	</tr>
            	<tr>
            		<td>用户头像</td>
            		<td><input class="easyui-textbox" id="userLogoUrl" name="userLogoUrl" required="true" readonly="readonly">
            			<button type="button"
							onclick="searchAllImage('userLogoUrl')"
							class="easyui-linkbutton" data-options="iconCls:'icon-search'"
							style="width: 30px; height: 20px"></button> </td>
            	</tr>
            	<tr>
            		<td><label>性&nbsp;&nbsp;别:</label></td>
            		<td><select id="userSex" class="easyui-combobox"
						name="userSex" style="width: 155px;"
						data-options="editable:false,panelHeight:'auto'">
						<option value=""></option>
						<option value="1" >男</option>
						<option value="2" >女</option>
				</select></td>
            	</tr>
            </table>
        </form>
    </div>
    <div id="tudlg-buttons">
    <label id="tusaveUrl" closed="true"></label>
        <a href="javascript:void(0)" id="save" class="easyui-linkbutton c6" iconCls="icon-ok" onclick="saveadteUser();" style="width:90px">保存</a>
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="canceladteUser();" style="width:90px">取消</a>
    </div>
    </div>
    <!-- 图片查询隐藏窗口 -->
	<div id="adfodderdlg" class="easyui-dialog"
		data-options="iconCls:'icon-save',resizable:true,modal:true"
		style="width: 800px; height: 600px; padding: 10px 20px" closed="true">
		<div style="height: 70px; width: 100%;" align="center">
			<div style="float: left; padding: 20px 0 0 20px;">
				<label for="fodderName">文件名:</label> <input class="easyui-textbox"
					type="text" name="sfodderName" id="sfodderName" />
			</div>
			<div style="float: left; padding: 20px 0 0 20px;">
				<label for="fodderType">文件类型:</label> <select id="fodderType"
					class="easyui-combobox" name="fodderType" style="width: 155px;"
					data-options="editable:false,panelHeight:'auto'">
					<option value="" selected="selected">请选择</option>
					<option value="0">未知</option>
					<option value="1">图片</option>
					<option value="2">视频</option>
				</select>
			</div>
			<div style="float: left; padding: 20px 0 0 20px;">
				<button id="searchfodder" class="easyui-linkbutton c1"
					data-options="iconCls:'icon-search'" type="button"
					onclick="adfodderSearchBtn()">查询</button>
			</div>
			<div style="float: left; padding: 20px 0 0 20px;">
				<button id="resetFodderButtn" class="easyui-linkbutton c5"
					data-options="iconCls:'icon-clear'" type="button"
					onclick="adfodderResetBtn()">重置</button>
			</div>
		</div>
		<!-- 素材管理 -->
		<table id="Adfodderdirectory_table"></table>
	</div>
</body>
</html>